package com.skivingcloud.workflow.service;

import com.skivingcloud.admin.sys.entity.User;
import com.skivingcloud.common.utils.PageUtils;
import com.skivingcloud.workflow.entity.Strategy;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 找人策略 服务类
 * </p>
 *
 * @author skivingcloud
 * @since 2022-03-03
 */
public interface IStrategyService extends IService<Strategy> {

	PageUtils queryPage(Map<String, Object> params);

	public void save(Strategy strategy, User user);

	Strategy selectById(String id);

	public void update(Strategy strategy, User user);

	/**
	 * 删除配置信息
	 */
	public void deleteBatch(String[] ids);

	public List<Strategy> select(Strategy strategy);

	Strategy getStrategyIdByCode(String strategyCode);
}
